package smedi.ismedi.web.bff.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yangzhenzhou
 * @date 2022/12/12
 */
@Data
public class AvailableHiddenDangerBySafetyRequest {

    @ApiModelProperty(value = "隐患状态")
    private String hiddenDangerStatus;
    @ApiModelProperty(value = "隐患类型")
    private String hiddenDangerType;
    @ApiModelProperty(value = "隐患检查类型")
    private String hiddenDangerCheckType;

    @ApiModelProperty(value = "检查开始时间")
    private String checkStartTime;

    @ApiModelProperty(value = "检查结束时间")
    private String checkEndTime;

    @ApiModelProperty(value = "项目Id")
    private Long projectId;

    @ApiModelProperty(value = "当前页")
    @NotNull(message = "当前页不能为空")
    private int pageNum;

    @ApiModelProperty(value = "一页数据量")
    @NotNull(message = "一页数据量不能为空")
    private int pageSize;

    @ApiModelProperty(value = "隐患来源")
    @NotBlank(message = "隐患来源不能为空")
    private String hiddenDangerSource;

    @ApiModelProperty("模糊查询条件")
    private String keyWord;


}
